package org.wordpress.android.dashboard;

import java.util.LinkedList;
import java.util.List;

import org.xml.sax.helpers.DefaultHandler;

public final class SaxEventsHandler extends DefaultHandler {

    private List<DashboardEvent> events;

    public SaxEventsHandler() {
        super();
        reset();
    }

    public List<DashboardEvent> getEvents() {
        return this.events;
    }

    public void reset() {
        this.events = new LinkedList<DashboardEvent>();
    }
}